package com.lsl.endworkvol.dao;

import com.lsl.endworkvol.entity.Volunteer;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface VolunteerMapper {

    Volunteer selectVolunteerById(Integer id);

    int insertVolunteer(Volunteer volunteer);

    int updateVolunteer(Volunteer volunteer);

    int deleteVolunteer(Integer id);

    List<Volunteer> blurVolunteers(Volunteer volunteer);

    List<Volunteer> selectAllVolunteers();
}
